@extends('admin.layouts.app')
@section('css')

@endsection
@section('content')

                        <!-- Page-Title -->
                       
                        
                        <div class="row">
                            <div class="col-lg-12">
                                <div class="card-box">
                            <h2 class="m-t-0 header-title">Edit Customer Info</h2>
                            <hr/>
                             
    @include('admin.common.error')
    <div class="row">
             <div class="col-md-9">
        <form class="form-horizontal" role="form" action="{{url('zadmin/users/'.$data->id)}}" method="post" enctype="multipart/form-data">
                {{ method_field('PUT') }}
          <div class="form-group">
          <label class="col-md-2 control-label">First Name</label>
          <div class="col-md-10">
          <input type="text" class="form-control" name="first_name" required="" value="{{$data->first_name}}"  autocomplete="off">
                                                  </div>
                                              </div>
          <div class="form-group">
              <label class="col-md-2 control-label" for="example-email">Last Name</label>
                <div class="col-md-10">
                <input type="text"  name="last_name" class="form-control" value="{{$data->last_name}}"  />
              </div>
            </div>
            <div class="form-group">
              <label class="col-md-2 control-label" for="example-email">DOB</label>
                <div class="col-md-10">
                <input type="text"  name="birthday" class="form-control" value="{{$data->birthday}}"  />
              </div>
            </div>
                                                
            <div class="form-group">
              <label class="col-md-2 control-label" for="example-email">Phone Number</label>
                <div class="col-md-10">
                  <input type="text"  name="phone_number" class="form-control" value="{{$data->phone_number}}" placeholder="" autocomplete="off" >
                </div>
              </div>
            <div class="form-group">
              <label class="col-md-2 control-label" for="example-email">E-mail</label>
                <div class="col-md-10">
                <input type="text"  name="email" class="form-control" value="{{$data->email}}" placeholder="" autocomplete="off"/>
              </div>
            </div>

            <div class="form-group">
              <label class="col-md-2 control-label" for="example-email">Password</label>
                <div class="col-md-10">
                <input type="password"  name="password" class="form-control" value="{{$data->password}}" placeholder="" autocomplete="off"/>
              </div>
            </div>
            <div class="form-group">
              <label class="col-md-2 control-label" for="example-email">License Number</label>
                <div class="col-md-10">
                <input type="text"  name="licence_number" class="form-control" value="{{$data->licence_number}}" placeholder="" autocomplete="off"/>
              </div>
            </div>

           
           

           
           
            
          


            

            





                <div class="form-group text-center">
                  <button type="submit" class="btn btn-info waves-effect waves-light">Submit</button>

                  <a href="{{url('zadmin/users')}}" class="btn btn-info waves-effect waves-light">Cancel</a>
                </div>
                                              
                  <input type="hidden" name="id" value="{{$data->id}}" />                            
                             {{csrf_field()}}
              </form>
                                </div>

                               
                                        
               </div>            
                                    
                                    
      </div>
                                
      </div> <!-- end col -->

                            
                        </div>
@endsection
                        
                        
                        

                  
        
       

           



    
        @section('js')

        
        @endsection
    
